package com.sealer.pattern.behavioral.iterator;

/**
 * Created by sealer on 17/04/06.
 */
public interface Collection<T> {
    Iterator<T> getIterator();

    boolean add(T t);

    boolean remove(T t);

    int size();
}
